home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / metamail / contrib / mms / news / mmhencode.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-18  |  1.2 KB  |  39 lines

  1. /*////////////////////////////////////////////////////////////////////////
  2. Copyright (c) 1992 Electrotechnical Laboratry (ETL)
  3.  
  4. Permission to use, copy, modify, and distribute this material 
  5. for any purpose and without fee is hereby granted, provided 
  6. that the above copyright notice and this permission notice 
  7. appear in all copies, and that the name of ETL not be 
  8. used in advertising or publicity pertaining to this 
  9. material without the specific, prior written permission 
  10. of an authorized representative of ETL.
  11. ETL MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
  12. OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
  13. WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
  14. /////////////////////////////////////////////////////////////////////////
  15. Content-Type: program/C; charset=US-ASCII
  16. Program:      mmhencode.c (MIME header encoder/decoder interface)
  17. Author:       Yutaka Sato <ysato@etl.go.jp>
  18. ///////////////////////////////////////////////////////////////////////*/
  19.  
  20. #include <stdio.h>
  21.  
  22. #ifdef LOCAL2MIME
  23. main(ac,av)
  24.     char *av[];
  25. {
  26.     MMS_E_head_ENCODER(ac,av,stdin,stdout);
  27.     exit(0);
  28. }
  29. #endif
  30.  
  31. #ifdef MIME2LOCAL
  32. main(ac,av)
  33.     char *av[];
  34. {
  35.     MMS_E_head_DECODER(ac,av,stdin,stdout);
  36.     exit(0);
  37. }
  38. #endif
  39.